package com.dfs.parent.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dfs.parent.common.core.domain.Result;
import com.dfs.parent.order.dto.OrderDTO;
import com.dfs.parent.order.entity.Order;
import com.dfs.parent.service.vo.ProductVO;

import javax.servlet.http.HttpServletRequest;

public interface OrderService extends IService<Order> {
    ProductVO createOrder(OrderDTO order, HttpServletRequest request) throws Exception;
    Order findById(Long id);
    Result<String> orderConfig();
}
